.cp-modal-wrapper * {
  box-sizing: content-box;
  /* font-size: 12px; */
}
.cp-tool .side-btn {
  width: 40px;
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 9999;
  opacity: 0.3;
}
.cp-tool .side-btn:hover {
  opacity: 1;
}
.tool-item a{ 
  text-decoration: none;
}
.cp-tool .cp-btn:hover {
  background: #b94cfd;
  color: #fff;
}
.cp-tool .cp-btn {
  /* background: #1d7dfa; */
  background: #b35ce8;
  border: none;
  font-size: 12px;
  padding: 6px 10px;
  color: #eee;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  border-radius: 2px;
  display: inline-block;
}

.cp-tool .cp-btn-default {
  border: 1px solid #d8d8d8;
  padding: 6px 10px;
  color: #333;
  cursor: pointer;
  border-radius: 2px;
  display: inline-block;
}
.cp-tool .copy-btn .cp-btn {
  margin-right: 10px;
}
.cp-tool code {
  overflow-x: auto;
}
.rich_media_title {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 14px;
  color: #333;
}
.rich_media_meta_list em {
  font-style: normal;
}
.rich_media_meta_text {
  color: rgba(0, 0, 0, 0.3);
}
.wx_tap_link {
  color: #576b95;
  text-decoration: none;
}
.rich_media_meta {
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px 10px 0;
  font-size: 15px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.preview-article-article-header {
  padding: 10px;
}
.preview-article-container,
.preview-article-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}
.preview-article-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.6;
}
.preview-article-close {
  display: inline-block;
  position: absolute;
  right: 100px;
  z-index: 999;
  background-color: #fff;
}
.preview-article-content-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0) scale(0.8);
  background-size: cover;
  height: 915px;
  width: 472px;
}
.preview-phone-wrapper {
  width: 340px;
  height: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
}
.cp-modal-wrap > * {
  box-sizing: border-box;
}
@media screen and (max-width: 1074px) {
  .preview-phone-wrapper {
    right: 217px;
    left: auto;
  }
}
@media screen and (max-width: 797px) {
  .preview-phone-wrapper {
    left: 230px;
  }
}
@media screen and (max-height: 760px) {
  .preview-phone-model {
    transform: scale(0.84);
  }
}
.preview-phone-model {
  background-size: cover;
}
.preview-phone-model_5_8 {
  background-image: url("https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/c40cddc7cf074625920a0c0781db6e17~tplv-k3u1fbpfcp-watermark.image?");
  width: 309px;
  height: 666px;
  padding: 8px 10px;
  box-sizing: content-box;
}
.preview-article-wrapper_5_8 {
  border-radius: 38px;
  padding-top: 16px;
  padding-bottom: 32px;
  position: relative;
}
.preview-article-wrapper_5_8:after {
  position: absolute;
  content: "";
  width: 97px;
  height: 4px;
  bottom: 13px;
  left: 50%;
  border-radius: 72px;
  background-color: #000;
  transform: translateX(-50%);
}
.preview-article-content {
  text-align: center;
  top: 118px;
  position: relative;
}
.preview-article-wrapper {
  height: 617px;
  background: #fff;
  position: relative;
}
.preview-article-wrapper .preview-article-title {
  transition: background 0.3s ease, border-bottom 0.3s ease;
  background: #fff;
  padding: 0 20px;
  box-sizing: content-box;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  height: 44px;
}
.preview-article-wrapper .preview-article-title .preview-article-title-left {
  flex: 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.preview-article-wrapper .preview-article-title .preview-article-title-right {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.preview-article-wrapper
  .preview-article-title
  .preview-article-title-right
  img {
  margin-left: 14px;
}
.preview-article-wrapper .preview-article-title .preview-article-title-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.preview-article-wrapper
  .preview-article-title
  .preview-article-title-center
  img {
  height: 21px;
}
.preview-article-wrapper .preview-article-action-bar {
  position: absolute;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 32px;
  bottom: 32px;
  width: 100%;
  padding-left: 14px;
  padding-right: 10px;
  justify-content: space-between;
  border-top: 0.5px solid #e8e8e8;
}
.preview-article-wrapper
  .preview-article-action-bar
  .preview-action-bar-comment {
  flex-grow: 1;
  font-size: 10px;
  height: 24px;
  line-height: 24px;
  background: #f2f2f2;
  border-radius: 12px;
  margin-right: 10px;
  padding: 0 10px;
}
.preview-article-wrapper
  .preview-article-action-bar
  .preview-action-bar-comment
  img {
  width: 10px;
  height: 10px;
  margin-right: 4px;
}
.preview-article-wrapper
  .preview-article-action-bar
  .preview-action-bar-actions {
  display: flex;
  align-items: center;
}
.preview-article-wrapper
  .preview-article-action-bar
  .preview-action-bar-actions
  img {
  margin-right: 10px;
  width: 22px;
  height: 22px;
}

.preview-article-wrapper .preview-article-article_5_8 {
  border-bottom-right-radius: 38px;
  border-bottom-left-radius: 38px;
  overflow-y: auto;
  height: calc(100% - 10px);
}

.preview-article-wrapper_5_8 .preview-article-title {
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.preview-toolbox {
  position: absolute;
  left: calc(100% + 3vw);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  width: 332px;
  top: 50%;
  transform: translateY(-50%);
  padding: 28px 20px;
  border-radius: 4px;
  background-color: #fff;
  transition: background 0.3s ease;
}
.preview-toolbox .tips-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}
.preview-toolbox .tool-item {
  margin-bottom: 24px;
  display: flex;
  /* align-items: flex-start; */
  align-items: center;
}
.preview-toolbox .tool-item:last-child {
  margin-bottom: 0;
}
.preview-toolbox .tool-item .tool-item-label {
  color: #666;
  font-size: 14px;
  margin-right: 12px;
  width: 40px;
  text-align: right;
  line-height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.preview-toolbox .tool-item .tool-item-label .toolbox-hint-icon {
  margin-left: 3px;
  width: 13px;
  height: 13px;
}
.preview-toolbox .toolbox-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.preview-toolbox .toolbox-select .toolbox-option {
  width: 74px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  color: #222;
  text-align: center;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
}
.preview-toolbox .toolbox-select .toolbox-option:hover {
  border-color: #999;
}
.preview-toolbox .toolbox-select .toolbox-option.active {
  border: none;
  color: #fff;
  background-color: #1d7dfa;
}
.preview-toolbox .toolbox-select .toolbox-option.active:hover {
  background-color: #1d7dfa;
}

.preview-toolbox .toolbox-qr {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.preview-toolbox .toolbox-hint {
  margin-top: 4px;
  text-align: center;
  color: #222;
  font-size: 12px;
  display: flex;
  align-items: center;
}
.preview-toolbox .toolbox-hint .toolbox-hint-highlight {
  color: #f04142;
}
.preview-toolbox .toolbox-hint .toolbox-hint-icon {
  margin-left: 2px;
  width: 14px;
  height: 14px;
}
.preview-toolbox .toolbox-description {
  font-size: 12px;
  color: rgba(32, 32, 32, 0.5);
}
.preview-toolbox .preview-title {
  margin-top: -8px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
  transition: border-top-color 0.3s ease;
}
.preview-toolbox .preview-title-list {
  margin: 0 -8px;
}
.preview-toolbox .preview-title-tip {
  color: #666;
  margin-bottom: 4px;
}
.preview-toolbox .preview-title-item {
  padding: 6px 8px;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.preview-toolbox .preview-title-item.selected,
.preview-toolbox .preview-title-item:hover {
  background: #f5f5f5;
}
.preview-toolbox .preview-title-item-txt {
  word-break: break-all;
}
.preview-toolbox .preview-title-item-btn {
  flex-shrink: 0;
  margin-left: 14px;
}
